package com.xinzhi.savingpot.task.mapper;

import com.xinzhi.savingpot.task.entity.TaskInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TaskInfoMapper {
    int addTask(@Param("ti") TaskInfo taskInfo);

    //    根据ID查任务信息
    TaskInfo queryTaskById(@Param("taskId") Integer taskId);



}